home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / boot_up / tdsk140a / manual.eng < prev    next >
Text File  |  1995-04-27  |  50KB  |  1,242 lines

  1.                         The Tera Desktop
  2.  
  3. Table of Contents
  4.  
  5. 1  Introduction
  6.  
  7.    1.1       About Tera Desktop
  8.    1.2       The Author
  9.    1.3       Hardware and operating system requirements
  10.    1.4       Disclaimer
  11.    1.5       Support
  12.  
  13. 2  Installation
  14.  
  15. 3  Conventions and background information
  16.  
  17.    3.1       Conventions
  18.    3.2       Type of program
  19.    3.3       Running a program
  20.  
  21. 4  Menus
  22.  
  23.    4.1       Teradesk
  24.    4.2       File
  25.  
  26.         4.2.1     Open
  27.         4.2.2     Show Information
  28.         4.2.3     New Folder
  29.         4.2.4     Close
  30.         4.2.5     Close Window
  31.         4.2.6     Select all
  32.         4.2.7     Cycle Window
  33.  
  34.    4.3       View
  35.  
  36.         4.3.1     Show as
  37.         4.3.2     Sort
  38.         4.3.3     Hidden & System files
  39.         4.3.4     Set file mask
  40.  
  41.    4.4       Options
  42.  
  43.         4.4.1     Install Applications
  44.  
  45.              4.4.1.1   Function keys
  46.              4.4.1.2   Document Types
  47.              4.4.1.3   Command Line
  48.              4.4.1.3   ARGV protocol
  49.  
  50.         4.4.2     Install Desk Icon
  51.         4.4.3     Install window Icon
  52.         4.4.4     Change Icons
  53.         4.4.5     Remove Icons
  54.  
  55.         4.4.6     Set preferences
  56.         4.4.7     Editor
  57.         4.4.8     Program Options
  58.         4.4.9     Window Options
  59.  
  60.         4.4.10    Save settings
  61.         4.4.11    Load settings
  62.         4.4.12    Save settings as
  63.  
  64. 5  Icons and Objects
  65.  
  66.    5.1       Introduction
  67.    5.2       The ICON.RSC file
  68.    5.3       Opening icons and objects
  69.    5.4       Dragging Objects
  70.  
  71. 6  The ARGV protocol
  72.  
  73. 7  Acknowledgements
  74.  
  75.  
  76. 1  Introduction
  77.  
  78.    1.1  About the Tera Desktop
  79.  
  80.         The Tera Desktop is a replacement for the ST,  STE or  TT 
  81.         desktop.  It  provides  many  more  facilities  than  the 
  82.         standard desktop and windows are drawn and scrolled  much 
  83.         faster in it;  It allows icons for files and programs and 
  84.         provides the ability to view files in windows.  
  85.  
  86.         The   program  may  be  copied  and  distributed   freely 
  87.         provided:
  88.  
  89.         1.   All   the   files  listed  below  are   copied   and 
  90.              distributed at the same time and none are changed in 
  91.              any way.
  92.  
  93.         2.   The   program  is  not  sold  without  the   written 
  94.              permission  of  the  author.    If  the  program  is 
  95.              distributed by a PD library,  only the costs of  the 
  96.              disk and distribution may be recovered.
  97.  
  98.         The Tera Desktop files are:
  99.  
  100.              DESKTOP.PRG      The Tera Desktop program
  101.              DESKTOP.RSC      English resource file
  102.              DESKFRA.RSC      French resource file
  103.              ICONS.RSC        Icons resource file
  104.              README.NED       Instructions in Dutch
  105.              README.ENG       Instructions in English
  106.              CHANGES.NED      Version changes in Dutch
  107.              CHANGES.ENG      Version  changes in English 
  108.              MANUAL.NED       Manual in Dutch
  109.              MANUAL.ENG       Manual in English
  110.              CONVERT.PRG      Program to convert settings
  111.              VIEWER.PRG       Program for viewing .IMG and Degas files
  112.              VIEWER.RSC       Resource file for viewer
  113.  
  114.    1.2  The Author
  115.  
  116.       The author and copyright owner of the Tera Desktop is:
  117.  
  118.       Wout Klaren
  119.       Zwolsekanaal 18
  120.       7681 ED Vroomshoop
  121.       The Netherlands
  122.  
  123.    1.3  Hardware and Operating system requirements
  124.  
  125.         Hardware
  126.  
  127.         The Tera Desktop can be used on any Atari ST,  STE or  TT 
  128.         computer. It uses about 140 Kb of memory.
  129.  
  130.         Although the Tera Desktop can be used without the aid  of 
  131.         a hard disk, the use of one is strongly recommended. This 
  132.         is  because the program must be available on disk at  all 
  133.         times  when  it  is  running.  This  requirement  can  be 
  134.         facilitated, if you have sufficient memory, by placing it 
  135.         in a RAM disk.
  136.  
  137.         TOS version
  138.  
  139.         Tera  Desktop will work with all current versions of  TOS 
  140.         but is very much more useful with versions 1.4 and above.  
  141.         There  are several reasons for this,  for in version  1.4 
  142.         and above:
  143.  
  144.         1.   Folders can be renamed.
  145.  
  146.         2.   The  file processing routines are very  much  better 
  147.              and enables more facilities to be used.
  148.  
  149.         3.   GEM  programs  can be  started  automatically  after 
  150.              booting.
  151.  
  152.         4.   There are significant bugs in version 1.0
  153.  
  154.         5.   Tera  Desktop does not work in low  resolution  with 
  155.              version  1.0 because of limitations on the  size  of 
  156.              menus.
  157.  
  158.         Resolution
  159.  
  160.         It  is recommended that you use Tera Desktop in  high  or 
  161.         medium resolution.   The program works in low  resolution 
  162.         but with certain limitations:
  163.  
  164.         1.   With the ST or TT:
  165.  
  166.              a.   The  dialog box for the input of command  lines 
  167.                   to TTP programs are smaller.
  168.  
  169.              b.   The  dialog boxes of 'Install Application'  and 
  170.                   'Set   Preferences'  will  not  work   properly 
  171.                   because they are too big.
  172.  
  173.         2.   Tera  Desktop does not work in low  resolution  with 
  174.              version  1.0 because of limitations on the  size  of 
  175.              menus.
  176.  
  177.    1.4  Disclaimer
  178.  
  179.         Tera  Desktop has been tested with  TOS  1.0,  1.2,  1.4, 
  180.         1.42,  1.6, 3.05 and KAOS TOS, but it is possible that it 
  181.         will   fail  to  work  properly  on  other  versions   or 
  182.         with configurations different from those on which it  was 
  183.         tested.  It is also possible that there are still bugs in 
  184.         the  program  which  will show up  even  when  using  the 
  185.         systems on which it has been tested.
  186.  
  187.         The  author disclaims all responsibility for any loss  or 
  188.         damage  resulting from the use of Tera Desktop no  matter 
  189.         how it is caused.
  190.  
  191.    1.5  Support
  192.  
  193.         In  the United Kingdom,  new versions can  be  downloaded 
  194.         from:
  195.  
  196.                     System ST
  197.                     tel: 0533 413443
  198.                     Fidonet 2:255/320
  199.                     NeST 90:102/131
  200.  
  201.         The  compressed  file  containing the  system  is  called 
  202.         TERADESK.LZH.
  203.  
  204.         This BBS also provides support for the Tera Desktop.   If 
  205.         you  have  any suggestions for improvements  or  bugs  to 
  206.         report, you can leave a note of them there.
  207.  
  208.         In the Netherlands, new versions can be downloaded from:
  209.  
  210.                     Moir Brandts Honk BBS
  211.                     tel: 070-3461215
  212.  
  213.         If you discover a bug,  the author would be very grateful 
  214.         if  you would report to him (either in writing or on  the 
  215.         BBS)  the nature of the bug and provide a description  of 
  216.         your  computer  configuration  [TOS  version,  Auto  boot 
  217.         program  used  (if  any),   computer  type,   accessories 
  218.         installed etc.].
  219.  
  220. 2  Installation
  221.  
  222.    The Tera Desktop should be installed as follows:
  223.  
  224.    1.   Create a folder called DESKTOP anywhere on your hard disk 
  225.         (or in a RAM disk if you have no hard disk).
  226.  
  227.    2.   Copy into this folder the files:
  228.  
  229.         DESKTOP.PRG
  230.         DESKTOP.RSC
  231.         ICONS.RSC
  232.  
  233.    The Tera Desktop can now be started in the usual way by double 
  234.    clicking on DESKTOP.PRG.
  235.  
  236.    If you have TOS version 1.4 or greater,  you can set it up  so 
  237.    that Tera Desktop is started automatically when you  boot.  To 
  238.    do this:
  239.  
  240.    3.   Select the file DESKTOP.PRG by single clicking on it.
  241.  
  242.    4.   Select 'Install Application' from the Options menu.
  243.  
  244.    5.   Change to boot status from 'Normal' to 'Auto'
  245.  
  246.    6.   Click on 'Install'
  247.  
  248.    7.   Save the desktop configuration
  249.  
  250.    If you have TOS version 1.0 or 1.2 you must use a program such 
  251.    as STARTGEM to run DESKTOP from an AUTO folder.
  252.  
  253. 3  Conventions and background information
  254.  
  255.    3.1 Conventions
  256.  
  257.    1.   It  is  assumed  that the reader knows  how  to  use  the 
  258.         standard Atari desktop as described in the user manual.
  259.  
  260.    2.   We  shall often mention the procedure of  'Selecting'  an 
  261.         object.  By this we mean the act of placing the mouse  on 
  262.         the  object  and  clicking the  left  button  once.   The 
  263.         display  of  the Object should change to  reverse  video.  
  264.         Many  icons and some objects in dialog boxes can also  be 
  265.         selected by pressing certain keys.
  266.  
  267.         If  you select a second object while the first  is  still 
  268.         selected,  the first is deselected - UNLESS you held down 
  269.         [Shift] while selecting them;  in that way you can select 
  270.         several objects.
  271.  
  272.         Another  way of selecting several objects at once  is  to 
  273.         place the mouse arrow to the left of one of them and then 
  274.         hold down the left mouse button.  Then,  if you move  the 
  275.         mouse,  a  box will form in which you can  enclose  other 
  276.         objects.  When  you  release the mouse  button,  all  the 
  277.         enclosed objects are selected.  Note that all the objects 
  278.         in the box are selected, even though not all are visible. 
  279.         This  is relevant if you scroll the contents of a  window 
  280.         at the same time .
  281.  
  282.    3.   We shall also refer to 'Opening' a file.  This  generally 
  283.         means  that you place the mouse cursor on the file (in  a 
  284.         directory)  and double click with the left mouse  button.  
  285.         Files  can also be opened by first  selecting  them,  and 
  286.         then selecting 'Open' from the 'File' menu.
  287.  
  288.    4.   We shall refer to keys with square brackets enclosing the 
  289.         symbol written on the key  itself.   e.g.  [Return],  [Q] 
  290.         etc.
  291.  
  292.    5.   Sometimes  we mention 'masks'.   A mask is a sequence  of 
  293.         symbols  which may or may not match a file  name.   Masks 
  294.         contain  the symbols '*' and '?' as well as the  standard 
  295.         symbols which may appear in a file name.
  296.  
  297.         *    Stands  for  any character or run of  zero  or  more 
  298.              characters so that:
  299.  
  300.              A*B matches AB,  AAB,  ACB,  AAAB,  ACCB,  ABCB etc.           
  301.              A*  matches A, AB,AAA,ABC,ABCD etc.
  302.  
  303.              ?    Stands for any single character
  304.  
  305.              A?B matches AAB, ACB, A B etc.
  306.  
  307.    6.   Most  menu  items can be selected with a key as  well  as 
  308.         with the mouse. 
  309.  
  310.         To  select a menu item with a key,  press and  hold  down 
  311.         [Control] and then press the key indicated.   The  symbol 
  312.         '^' is there to remind you to use the control key.
  313.  
  314.    7.   Likewise,  most  buttons  in dialogue boxes can  also  be 
  315.         selected by a key.
  316.  
  317.         Press and hold down [Alternate] and then press the key of 
  318.         the character in the button that is underlined.
  319.  
  320.         Boxes  with  arrows  can  be  selected  by  holding  down 
  321.         [Control]  and pressing the corresponding cursor  (arrow)  
  322.         key on the keyboard.
  323.  
  324.    8.   When a key is a 'letter' key.  use the capital  (Shifted) 
  325.         version.
  326.  
  327.    3.2 Types of program
  328.  
  329.         In this section we review the various types of program or 
  330.         application that you may encounter.
  331.  
  332.         The type of a given program depends on how it is  written 
  333.         and is beyond your control; usually the type of a program 
  334.         is indicated by its extension, but be warned, this is not 
  335.         always so.
  336.  
  337.         The types are:
  338.  
  339.              Type Usual     Description
  340.                   extension
  341.  
  342.         1.   GEM  PRG       Program uses GEM and does not require                   
  343.                   APP       parameters.
  344.  
  345.         2.   GTP  GTP       Program   uses   GEM   and   requires 
  346.                             parameters;  the GTP extension is not 
  347.                             recognised in standard desktop.
  348.  
  349.         3.   TOS  TOS       Program does not use GEM and does not 
  350.                             require parameters.
  351.  
  352.         4.   TTP  TTP       Program does not use GEM but requires 
  353.                             parameters.
  354.  
  355.         5.   ACC  ACC       Accessory program
  356.  
  357.         Parameters are items of data,  often a file  name,  which 
  358.         are sent to the program as you invoke it.  
  359.  
  360.         The  standard desktop recognizes the last three  programs 
  361.         from  their extension and reacts appropriately  when  you 
  362.         open them.  With TTP programs it displays a dialog box in 
  363.         which you can enter parameters.  Tera Desktop in addition 
  364.         recognises  the GTP extension and displays a  dialog  box 
  365.         for such programs.
  366.  
  367.         While it is possible to rename program files giving  them 
  368.         an extension which does not properly reflect their  type, 
  369.         this  is  inadvisable.   Nevertheless Tera  Desktop  will 
  370.         allow you to define the type of a program in the 'Install 
  371.         application' dialog box
  372.  
  373.         Thus, If a GEM or TOS type program file is given the .GTP 
  374.         or  .TTP extension,  anything you enter in the  parameter 
  375.         dialog  box  is ignored.  Conversely a GTP  or  TTP  type 
  376.         program  which has not been provided with the  parameters 
  377.         it expects, may not work properly.
  378.  
  379.    3.3 Running a program
  380.  
  381.         In this section we describe the various ways in which you 
  382.         can invoke (run) a program both from the standard desktop 
  383.         and from Tera Desktop.
  384.  
  385.         1.   Perhaps the most common method of starting a program 
  386.              is to open it by double clicking on its name or icon 
  387.              in  a directory window.  A parameter dialog  box  is 
  388.              displayed for GTP and TTP files.
  389.  
  390.         2.   A method available only with Tera Desktop is to  set 
  391.              up  a  function key so that the program  is  started 
  392.              when the key is pressed.   
  393.  
  394.         3.   Another method,  again not available in the standard 
  395.              desktop, is to set up an icon for the program on the 
  396.              desktop so that it is started when you double  click 
  397.              on it. 
  398.  
  399.         4.   Yet another method,  also available in the  standard 
  400.              desktop,   is  to  double  click  on  an  associated 
  401.              'Application Document' file.  The program is started 
  402.              and  the name of the application document is  passed 
  403.              as a parameter.
  404.  
  405.         5.   Finally  you can drag an application  document  (see 
  406.              above) to a program icon. As long as the application 
  407.              document  file  name matches one  of  the  program's 
  408.              application masks,  it will be as if you had  double 
  409.              clicked on the file as in method 4.
  410.  
  411.         Note  that Accessory programs cannot be started from  the 
  412.         desktop in any of these ways; they can only be started by 
  413.         selecting their appropriate menu item.
  414.  
  415. 4  Menus
  416.  
  417.    We now describe the various menu titles and the items you  can 
  418.    select from them:
  419.  
  420.    4.1  Menu Title:  Teradesk
  421.  
  422.         4.1.1  Info
  423.  
  424.         When  you  select  this item,  a dialogue  box  with  the 
  425.         copyright  notice  will appear.   It also shows  the  TOS 
  426.         version number and the amount of free memory.
  427.  
  428.    4.2 Menu Title:  File
  429.  
  430.         4.2.1  Open  [^Q]
  431.  
  432.         With  this item,  a selected object can be  opened.   See 
  433.         section 3 for further information.
  434.  
  435.         4.2.2  Show Information...  [^S]
  436.  
  437.         When  this item is selected,  the Tera  Desktop  displays 
  438.         information about an object you have previously selected:
  439.  
  440.         1.   If the selected object is a file, its name, the time 
  441.              and date it was last used and the number of bytes in 
  442.              it  will be displayed.  The name of the file can  be 
  443.              changed.  You can also set/unset the Write  Protect, 
  444.              Hidden and System attributes of the file.
  445.  
  446.         2.   If the selected object is a folder,  its  name,  the 
  447.              time  and date of it creation,  the number of  files 
  448.              and folders in it and the number of bytes used  will 
  449.              be displayed.  With TOS version 1.4 and  above,  the 
  450.              folder name can be changed.
  451.  
  452.         3.   If the selected object is a drive, the drive letter, 
  453.              the disk label,  the number of files and folders  on 
  454.              it,  the number of used and available bytes and  the 
  455.              total free space on it will be displayed.
  456.  
  457.         If the disk is empty, it is possible that the total space 
  458.         and  the free space will be different;  this is due to  a 
  459.         bug in TOS.
  460.  
  461.         It  is  possible to select more than one  object   before 
  462.         invoking  this menu item;  the information boxes for  the 
  463.         various objects will be shown in turn.   If you exit with 
  464.         Abort, you exit to the Tera Desktop.
  465.  
  466.         4.2.3  New Folder...  [^F]
  467.  
  468.         By  selecting  this item you can name and  create  a  new 
  469.         folder (directory) in the current (top) directory.
  470.  
  471.         4.2.4  Close  [^V]
  472.  
  473.         If  you  select this item,  the current (top)  window  is 
  474.         closed. If the window is that of a folder, it is replaced 
  475.         by the window of the directory which is one level higher.
  476.  
  477.         4.2.5  Close window  [^C]
  478.  
  479.         The  effect of selecting this item is similar to that  of 
  480.         'Close'; the difference is that the window of a folder is 
  481.         NOT replaced by another.
  482.  
  483.         4.2.6  Select all  [^A]
  484.  
  485.         By selecting this window you can select all the files and 
  486.         folders in the top desktop window in one fell swoop.
  487.  
  488.         4.2.7  Cycle windows  [^W]
  489.  
  490.         When this item is selected, the bottom window is moved to 
  491.         the top.   This is particularly useful when one window is 
  492.         covered completely by others for you can view this hidden 
  493.         window without having to move or delete the windows which 
  494.         cover it.
  495.  
  496.         4.2.8  Quit  [^Q]
  497.  
  498.         Select  this item to quit Tera Desktop and return to  the 
  499.         standard desktop.
  500.  
  501.    4.3  Menu title: View
  502.  
  503.    The  items under this title enable you to control the  way  in 
  504.    which the folders and files in a directory are displayed in  a 
  505.    window.
  506.  
  507.         4.3.1  Show as
  508.  
  509.         One or other of 'Show as icons' or 'Show as text' may  be 
  510.         selected;  the  selected  option  is  ticked.  Files  and 
  511.         folders  are shown correspondingly as icons or  as  text.  
  512.         In  text mode, the length in bytes, the creation date and 
  513.         time  and  the file attributes are shown as well  as  the 
  514.         file name.
  515.  
  516.         The attributes which are set are denoted as follows:
  517.  
  518.                d    -    directory
  519.                s    -    system file
  520.                h    -    hidden file
  521.                w    -    file is NOT write protected
  522.                a    -    archive bit
  523.  
  524.         4.3.2  Sort
  525.  
  526.         With  these items you can select the order in  which  the 
  527.         files   displayed   in  a   window   are   sorted.    The 
  528.         possibilities are:
  529.  
  530.                1.   Sort  by name            [^G]
  531.                2.   Sort by extension        [^H]
  532.                3.   Sort by creation date    [^J]
  533.                4.   Sort by size             [^N]
  534.                5.   Unsorted                 [^V]
  535.  
  536.         If you select 'Unsorted', they are displayed in the order 
  537.         in which they are stored on the disk; this corresponds to 
  538.         the  order in which they were placed on  the  disk;  note 
  539.         that  this  is not necessarily the same as the  order  of 
  540.         their creation dates.
  541.  
  542.         The mode selected applies to all open windows.
  543.  
  544.         4.3.3  Hidden files  [^X]; System files  [^Y]
  545.  
  546.         By  selecting  these menu items you  can  toggle  between 
  547.         modes in which files,  whose  system or hidden attributes 
  548.         are  set  (see  section  4.3.1)  are  either  visible  or 
  549.         invisible.  When the menu item is checked, such files are 
  550.         visible.
  551.  
  552.         The mode selected applies to all open windows.
  553.  
  554.         4.3.4  Set file mask...  [^T]
  555.  
  556.         With this item,  you can select which files are shown  in 
  557.         the  current (top)  directory window.   A dialog  box  is 
  558.         displayed  into which you can either type a file mask  or 
  559.         select a mask from a predefined list.  Double clicking on 
  560.         a mask in the list has the double effect of selecting the 
  561.         mask and exiting the box as if you selected 'OK'.
  562.  
  563.         It is also possible to delete the mask which is  selected 
  564.         or add a new one to the bottom of the list.
  565.  
  566.         The  mask  only applies to the window  that  was  current 
  567.         (Top) when this item was selected.
  568.  
  569.    4.4  Menu title:  Options
  570.  
  571.         4.4.1  Install Application...  [^L]
  572.  
  573.         You  can only select this menu option if you  have  first 
  574.         selected  a  program file.  With it you  can  install  an 
  575.         application and define the ways in which the program  can 
  576.         be started.
  577.  
  578.         The  'Install Application' menu displays a dialog box  in 
  579.         which  you  can  set  up these  methods  for  invoking  a 
  580.         program. 
  581.  
  582.         At  the  top  of the box you will see  the  name  of  the 
  583.         program you selected.   Note that your settings only take 
  584.         effect  if  you exit with 'Install'.   If you  exit  with 
  585.         'Remove', any settings you have made are cancelled.
  586.  
  587.         The methods available are:
  588.  
  589.              4.4.1.1  Function Key
  590.  
  591.              You  can associate a function key with  the  program 
  592.              whose effect is described in section 3.3    Enter  a 
  593.              number  in the range 1 to 20 in the  'Function  key' 
  594.              field.
  595.  
  596.              Numbers  1  to 10 correspond the the [F1]  to  [F10] 
  597.              keys and 11 to 20 to the same keys with [Shift] held 
  598.              down.
  599.  
  600.              4.4.1.2  Document types
  601.  
  602.              Here you can install files as application  documents 
  603.              of the program.
  604.  
  605.              The standard desktop only allows you to specify  one 
  606.              extension which is presumed to be common to all  the 
  607.              application  documents.  Tera Desktop is  much  more 
  608.              flexible and allows you to specify several  complete 
  609.              file  names or masks in which you can  include  wild 
  610.              cards if you wish.
  611.  
  612.              You  can  set  up a list of several  masks  for  the 
  613.              selected program:
  614.  
  615.              1.   You can add a mask to this list of documents by 
  616.                   selecting  'Add'  in the dialog  box  and  then 
  617.                   entering the mask.
  618.  
  619.              2.   You can delete a mask by clicking on the arrows 
  620.                   till the name you wish to delete  appears,  and 
  621.                   then clicking on 'Delete'.
  622.  
  623.              When  the  list is complete  to  your  satisfaction, 
  624.              click on the install button.
  625.  
  626.              When you have done this, you can run the program and 
  627.              at  the same time pass the name of  the  application 
  628.              document to the program as a parameter,  all in  one 
  629.              fell  swoop.  You do this by double clicking  on  an 
  630.              application  document  whose file name  matches  the 
  631.              mask.
  632.  
  633.              This can be very useful and save much time  if,  for 
  634.              instance,  the program is an editor.  Just opening a 
  635.              document  file will enable you to edit the  document 
  636.              without  the necessity of having to double click  on 
  637.              the program and then enter the document file name by 
  638.              hand or from the file selector.
  639.  
  640.              It  is important to note that a file matching a  the 
  641.              mask  on the list of any of the programs  cannot  be 
  642.              printed or displayed on the screen by opening it  in 
  643.              the normal way.  This merely invokes the program  to 
  644.              which you have associated it.   However this problem 
  645.              may  be overcome by holding down [Alternate] as  you 
  646.              select it (see section 5.3).
  647.  
  648.              You  should  also  beware of  associating  the  same 
  649.              application document with more than one program.  If 
  650.              you  do this by design or in error,  the program  to 
  651.              which you have assigned the file most recently takes 
  652.              precedence.
  653.  
  654.              4.4.1.3  Command line
  655.  
  656.              You may wish to send other parameters besides a file 
  657.              name to a program.  If these are likely to vary from 
  658.              one call of the program to another,  your best  plan 
  659.              is to invoke the program by opening it.  However  if 
  660.              the other parameters are constant,  you can set them 
  661.              up in the 'Command line' field.
  662.  
  663.              Whatever you write in the Command line will be  sent 
  664.              to  your  GTP or TTP program when you invoke  it  by 
  665.              double clicking on it or by dragging an  application 
  666.              document.  
  667.  
  668.              The  symbols %f and %n have a special  meaning  when 
  669.              entered in the command line:
  670.  
  671.              %f   This  is replaced by the  application  document 
  672.                   file name.
  673.  
  674.              %F   as %f, however  file  names  are  converted  to
  675.                   lower case.
  676.  
  677.              %n   This is replaced by the path (including  drive, 
  678.                   directory and name) of the application file.
  679.  
  680.              %N   as %n, however  file  names  are  converted  to
  681.                   lower case.
  682.  
  683.              4.4.1.4  ARGV protocol
  684.  
  685.              The   number   of  characters  which   specify   the 
  686.              parameters is limited to 125 in the standard desktop 
  687.              but  Tera Desktop allows you up to employ  more.  It 
  688.              does this by using the so called ARGV protocol  (see 
  689.              section  7).   You should note that some GTP or  TTP 
  690.              programs do not support the ARGV protocol;  you  can 
  691.              toggle its use on and off by clicking on the box.
  692.  
  693.         4.4.2  Install desk icon...  [^I]
  694.  
  695.         You  can use this menu option to install an icon  on  the 
  696.         desktop. When you first select it, a mini-icon appears on 
  697.         the desktop; you can move this about the screen with your 
  698.         mouse till you release the left mouse button; by then you 
  699.         will have placed it at the position you wish the new icon 
  700.         to be displayed.
  701.  
  702.         When you release the mouse button,  a dialog box appears. 
  703.         You can define the type of icon and its actual design  in 
  704.         this.   There are three types of Icon each of which has a 
  705.         special use:
  706.  
  707.         1.   Disk      Files  dragged to this will be  copied  to 
  708.                        the disk.
  709.  
  710.         2.   Printer   Files dragged to this will be printed.
  711.  
  712.         3.   Trashcan  Files dragged to this will be deleted.
  713.  
  714.         In  addition  there  are 35  different  designs  of  icon 
  715.         available
  716.  
  717.         You  can  scroll through these 35  different  designs  to 
  718.         select  the  one  you prefer.   You  can  also  enter  an 
  719.         identifying letter (for drive icons) and a title for  the 
  720.         icon.   Do  not forget to exit with the 'OK'  button  (or 
  721.         Cancel if that is what you prefer).
  722.  
  723.         Note that icons representing programs and other types  of 
  724.         file can be placed on the desktop simply by dragging them 
  725.         from  their directory onto the desktop.   In these  cases 
  726.         the  form  of the icon is decided by Tera  Desktop  which 
  727.         determines it according to it nature.
  728.  
  729.         4.4.3  Install window icon...
  730.  
  731.         With  this menu item you can determine the way files  and 
  732.         folders  are displayed when they are displayed  by  icons 
  733.         (see 4.4.1) in directory windows.
  734.  
  735.         When you select it,  a dialog box is displayed. The first 
  736.         thing you must do is to select either files or folders.
  737.  
  738.         The  dialog box contains a window showing a list of  file 
  739.         or  folder name masks.   You can scroll through these  by 
  740.         clicking  on  the  arrows.   Each mask  on  the  list  is 
  741.         associated with an icon and any file or folder whose name 
  742.         matches the mask is depicted by the associated icon.
  743.  
  744.         You can add new masks and icons to the list by  selecting 
  745.         'Add' when a new dialog box is displayed. You can enter a 
  746.         mask  and select an icon.   You can also delete an  entry 
  747.         from  the  list  by selecting 'Delete' or  edit  it  with 
  748.         'Change'.
  749.  
  750.         4.4.4  Change icons...  [^D]
  751.  
  752.         If  you  first select an icon on  the  desktop,  you  can 
  753.         change its title and form by selecting this menu item. If 
  754.         appropriate you can also change the nature of the  object 
  755.         it  represents  (Drive,  printer or trashcan  but  not  a 
  756.         program or other file).
  757.  
  758.         4.4.5  Remove icons...  [^R]
  759.  
  760.         If  you  first select an icon on  the  desktop,  you  can 
  761.         remove it by selecting this menu item.
  762.  
  763.         4.4.6  Set preferences...  [^P]
  764.  
  765.         By selecting this menu item, you can set your preferences 
  766.         just as you can in the standard desktop.  When you select 
  767.         the  menu item,  a dialog box is displayed.  In this  you 
  768.         can:
  769.  
  770.         1.   Toggle confirmation of copies.
  771.  
  772.         2.   Toggle confirmation of deletes.
  773.  
  774.         3.   Toggle confirmation of overwrites
  775.  
  776.         The  dialog  boxes  displayed  when  a  confirmation   is 
  777.         necessary are similar to those in the standard desktop.
  778.  
  779.         4.   Set the size of the copy buffer.  This is an area of 
  780.              RAM  which  is used to store the contents  of  files 
  781.              being copied.  In general, the larger you set it the 
  782.              faster copying will be performed.
  783.  
  784.         5.   Set the default tabsize:  the number of blank column 
  785.              produced   in  a  text  window  when  a   'Tab'   is 
  786.              encountered.
  787.  
  788.         6.   Toggle  a  switch  to save  the  palette.   If  this 
  789.              facility is switched on, the palette is saved when a 
  790.              program is run and restored when it finishes.   This 
  791.              is useful if the program changes the palette without 
  792.              restoring it itself.
  793.  
  794.         7.   Set the dialog box display mode.   Dialog boxes  can 
  795.              be  drawn in one of three modes.  Each mode has  its 
  796.              advantages:
  797.  
  798.              Buffered mode. In  this  mode,  the screen  under  a 
  799.                   dialogue box is saved in a buffer.  It can thus 
  800.                   be  restored  rapidly if the box is  moved   or 
  801.                   resized.  In this mode it is possible to move a 
  802.                   dialog  box about the screen by clicking  on  a 
  803.                   special button in its top right corner.
  804.  
  805.              Window mode.   In this mode,  dialog boxes appear in 
  806.                   windows.  This  has the advantage that you  can 
  807.                   use accessories while the box is displayed  and 
  808.                   can move the dialog box about the screen.
  809.  
  810.                   Note  that  dialog  boxes  displayed  by  other 
  811.                   programs are not effected.
  812.  
  813.              Normal mode.   None   of   the   special    features 
  814.                   associated with the other modes are  available. 
  815.  
  816.         8.   Determine the position of the dialog box.  There are 
  817.              two possibilities:
  818.  
  819.              1.   Place  the  box at a point  determined  by  the 
  820.                   position of the mouse.  This option is of  most 
  821.                   use when the display of the box is initiated by 
  822.                   a key press.
  823.  
  824.                   It  is  thus possible to  prevent  it  covering 
  825.                   other objects.
  826.  
  827.              2.   Centre  the box on the screen in  the  standard 
  828.                   way.
  829.  
  830.         4.4.7  Editor...
  831.  
  832.         As explained in section 5.3,  when you open a file  which 
  833.         is not a program,  you can,  among other things, edit the 
  834.         file.  Tera Desktop does not provide its own editor; that 
  835.         is up to you.  When you select this menu option, the file 
  836.         selector is shown.  You can select a suitable editor with 
  837.         it (assuming you have one). This should be of type TTP or 
  838.         GTP.   When you opt to edit a file in this way,  the name 
  839.         of  the  file  is  passed to the  selected  editor  as  a 
  840.         parameter.
  841.  
  842.         4.4.8  Program options...  [^M]
  843.  
  844.         With this menu option you can determine which files  Tera 
  845.         Desktop  recognises  as  containing  a  program  and  set 
  846.         various  other features.   A dialog box is  displayed  in 
  847.         which you can:
  848.  
  849.         1.   Toggle  a flag which indicates whether Tera  Desktop 
  850.              will wait for a keypress after a TOS or TTP  program 
  851.              has  finished.   This is useful when  such  programs 
  852.              write  something on the screen and you want to  read 
  853.              it at leisure.
  854.  
  855.         2.   Toggle  a flag which indicates whether Tera  Desktop
  856.              will redirect output to GEMDOS standard handle 2  to
  857.              the screen. This  is  usefull  when  you  are  using
  858.              programs compiled with GNU C.
  859.  
  860.         3.   Set  which files contain programs.   A small  window 
  861.              contains a list of file name masks;  you can  scroll 
  862.              the list or select an entry.  Any file which matches 
  863.              one of the masks is recognised by Tera Desktop to be 
  864.              a program.  You can add a new mask, edit one already 
  865.              there  which  you have selected or  delete  the  one 
  866.              selected by clicking on the appropriate button: Add, 
  867.              Change, Delete.
  868.  
  869.              If you add or edit a mask,  another dialog box  will 
  870.              be shown in which you must define the file type  and 
  871.              the  current  drive and set the ARGV  flag  for  the 
  872.              program.
  873.  
  874.         4.4.9  Window options...
  875.  
  876.         If  you select this menu option,  you can  determine  the 
  877.         appearances  of  the desktop and of  directory  and  view 
  878.         windows (see below).  A dialog box is displayed in  which 
  879.         you can:
  880.  
  881.         1.   Select a fill pattern for the desktop background
  882.  
  883.         2.   Select  a colour for the desktop  background  (black 
  884.              only on monochrome monitors)
  885.  
  886.         3.   Select a font and a font size for text appearing  in 
  887.              directory or view windows.    You must first  select 
  888.              'Directory  font'  or 'View  font'.   You  can  then 
  889.              scroll a set of font sizes. The word 'Text' is shown 
  890.              at the selected size in a small window.
  891.  
  892.         4.4.10 Save settings  [^K]
  893.  
  894.         If  you  select  this menu item,  you can  save  all  the 
  895.         current  settings  to a file call  DESKTOP.CFG.  This  is 
  896.         similar  to the 'save desktop' function in  the  standard 
  897.         desktop.
  898.  
  899.         4.4.11 Load settings...
  900.  
  901.         If you select this menu item,  you can load settings that 
  902.         you have previously saved in a file.   The file  selector 
  903.         is displayed;  enter the name of the file containing  the 
  904.         settings required.
  905.  
  906.         4.4.12 Save settings as...
  907.  
  908.         If  you select this menu option you can save the  current 
  909.         settings in a file whose name you can choose. In this way 
  910.         you  can  have  several files  with  different  settings, 
  911.         perhaps to suit different resolutions.
  912.  
  913.         The file selector is displayed for you to enter the  file 
  914.         name.
  915.  
  916. 5  Icons and Objects
  917.  
  918.    5.1  Introduction
  919.  
  920.         In  this  chapter  we discuss the use of  icons  and  the 
  921.         objects they represent.
  922.  
  923.    5.2  The ICON.RSC file
  924.  
  925.         This  file contains the bit-maps of the icons  which  you 
  926.         can select in the 'Add icon' and 'Change icon' options in 
  927.         the  'Install Desk Icon' and 'Install Window  Icon'  menu 
  928.         item dialog boxes.
  929.  
  930.         If you have a resource editor, you can add your own icons 
  931.         to  the file or replace those already there by your  own.  
  932.         The  maximum  size  of an icon is 64 pixels  wide  by  32 
  933.         pixels  high and the maximum size of the file is  64  Kb.  
  934.         Do  not add other sorts of object to this resource  file; 
  935.         if you do,  it will not load.   Owners of a Mega STE or a 
  936.         TT can also use the resource file which comes with  these 
  937.         computers in place of ICON.RSC as long as they copy it to 
  938.         the DESKTOP folder and rename it as ICONS.RSC.
  939.  
  940.         Note  that  the  first 7 icons in the file  are  used  to 
  941.         represent:
  942.  
  943.                     1.        Floppy disk drives
  944.                     2.        Hard disk partitions
  945.                     3.        Files
  946.                     4.        Programs
  947.                     5.        Folders
  948.                     6.        Trash cans
  949.                     7.        Printers
  950.  
  951.         You  can replace the default icons in the file by  others 
  952.         of your choice.
  953.  
  954.    5.3  Opening objects and icons
  955.  
  956.         An object in a directory window or on the desktop can  be 
  957.         opened by double clicking on it or by first selecting  it 
  958.         and using the 'Open' item in the 'File' menu.
  959.  
  960.         What happens when you open an object depends what sort of 
  961.         object  it  is;  the results may be modified  in  several 
  962.         cases  by  pressing the [Alternate] key as you  open  the 
  963.         object.  Other objects can be opened in other ways.   The 
  964.         results for the different objects are:
  965.  
  966.         1.   Disk drive.
  967.  
  968.              A new window which contains the objects in its  root 
  969.              directory is opened.
  970.  
  971.              Disk  drives  may  also be opened  by  holding  down 
  972.              [Alternate]  and pressing the key  corresponding  to 
  973.              the letter of the drive. 
  974.  
  975.              If  both the [Shift] and [Alternate] keys  are  held 
  976.              down,  a  new  window will not be  opened,  but  the 
  977.              directory will be displayed in the topmost window on 
  978.              the desktop.
  979.  
  980.         2.   Folder
  981.    
  982.              If  the  folder  is represented by an  icon  on  the 
  983.              desktop,  a new window containing its directory will 
  984.              be opened.
  985.  
  986.              If the folder is in a directory window, the contents 
  987.              of that window will be replaced by the directory  of 
  988.              the  folder,   as  with  the  standard  desktop.  If 
  989.              [Alternate] is held down as the folder is opened,  a 
  990.              new window containing its directory will be opened.
  991.  
  992.              Note that a folder name '..' behaves differently; it 
  993.              stands  for a folder one level higher.  If you  open 
  994.              such a folder, the effect is to replace the contents 
  995.              of the window by this higher level directory. If you 
  996.              do  this  holding down [Alternate] a new  window  is 
  997.              created containing this higher level directory.
  998.  
  999.         3.   File.
  1000.  
  1001.              A.   If  the  file is recognised as  a  program  the 
  1002.                   program will be invoked.  If the program is  of 
  1003.                   GTP or TTP type, a dialog box will be displayed 
  1004.                   first. You should enter the parameters required 
  1005.                   in it.
  1006.  
  1007.              B.   If the file is not a program but matches one of 
  1008.                   the  masks set up in the 'Install  application' 
  1009.                   menu  item,  the  associated  program  will  be 
  1010.                   started  and the name of the file passed  as  a 
  1011.                   parameter as described in section 3.3.
  1012.  
  1013.                   If  you hold down [Alternate] as you  open  the 
  1014.                   file, the associated program is not started and 
  1015.                   it is not recognised as an application file.
  1016.  
  1017.              C.   With all other files, a dialog box is displayed 
  1018.                   and you can opt to Show, Edit, Print or Cancel.
  1019.  
  1020.                   a.   If you opt to view the file,  a window  is 
  1021.                        opened  and the contents of the  file  are 
  1022.                        displayed  in it.  If the first 256  bytes 
  1023.                        contain at least 90% ASCII character,  the 
  1024.                        file is displayed in ASCII mode, otherwise 
  1025.                        it   is  displayed  in  HEX   mode.    See 
  1026.                        section 6.2 for further details.
  1027.  
  1028.                   b.   If  you opt to edit the file,  the  editor 
  1029.                        program  defined  in  the  'Editor'   menu 
  1030.                        option  (see paragraph 4.4.7) is  run  and 
  1031.                        the name of the file is passed to it as  a 
  1032.                        parameter.
  1033.  
  1034.                   c.   If you opt to print the file, its contents 
  1035.                        are sent to your printer to be printed.
  1036.  
  1037.                   d.   If  you opt to cancel,  you return to  the 
  1038.                        Tera Desktop.
  1039.  
  1040.    5.5   Dragging Objects
  1041.  
  1042.         Icons  or objects (the Source object) can be  dragged  to 
  1043.         other  icons  or  objects  (The  Destination  object)  by 
  1044.         holding  down the left mouse button and moving to  a  new 
  1045.         position on the desktop. When the mouse button is finally 
  1046.         released,  the  result  depends on both  the  source  and 
  1047.         destination object.
  1048.  
  1049.         The  results  for  the various  destination  objects  are 
  1050.         listed below.  The first 4 destination require the source 
  1051.         to be a file or folder.
  1052.  
  1053.         1.   File, Folder --> Disk drive
  1054.  
  1055.              Source  files and folders (with their contents)  are 
  1056.              copied into the drive.
  1057.  
  1058.              If you want to perform a disk copy, use some program 
  1059.              such as FCOPY.
  1060.  
  1061.         2.   File, Folder --> Folder
  1062.  
  1063.              Source  files  or folders will be  copied  into  the 
  1064.              folder. 
  1065.  
  1066.         3.   File, Folder --> Directory window
  1067.  
  1068.              Source   files  or  folders  are  copied  into   the 
  1069.              directory.
  1070.  
  1071.         4.   File, Folder --> Trashcan
  1072.  
  1073.              The  file or the folder together with  its  contents 
  1074.              are deleted.
  1075.  
  1076.         For  the next 2 destinations,  the source can only  be  a 
  1077.         file:
  1078.  
  1079.         5.   File --> Program
  1080.  
  1081.              The  program  is started and the name  of  the  file 
  1082.              passed to it as a parameter (which it may ignore  if 
  1083.              it is not of GTP or TTP type).
  1084.  
  1085.         6.   File --> Printer
  1086.  
  1087.              The contents of the file are sent to the printer.
  1088.  
  1089.         For  the  next destination,  the source can  be  a  file, 
  1090.         folder or drive.
  1091.  
  1092.         7.   File, Folder Drive --> Desktop
  1093.  
  1094.              If the source object was already on the desktop,  it 
  1095.              will be moved to a new position defined by the mouse 
  1096.              position when the button was released
  1097.  
  1098.              If the source object was in a directory window,  the 
  1099.              object will be installed on the desktop as an  icon. 
  1100.              Once so installed it can be used as if it were in  a 
  1101.              window.
  1102.  
  1103.         Note  that  all copy operations mentioned  above  can  be 
  1104.         modified  by  pressing [Control] as the mouse  button  is 
  1105.         released.  When this is done, the file or folder is moved 
  1106.         rather than copied; this means that the source is deleted 
  1107.         after it is copied to the destination.
  1108.  
  1109.         If,  instead,  [Alternate]  is pressed as the  button  is 
  1110.         released, a dialog box is displayed. With the aid of this 
  1111.         you  can  rename the new version of the source  which  is 
  1112.         placed in the destination.
  1113.  
  1114.         Note also that if a file or folder, which is installed in 
  1115.         the  Tera Desktop as an icon,  is deleted,  the  icon  is 
  1116.         removed as well.
  1117.  
  1118.         If  during a copy operation,  a file or folder  with  the 
  1119.         same  name as the source is found in the  destination,  a 
  1120.         dialog box will appear. This gives you the opportunity to  
  1121.         rename  both  the  source  and  destination  object,   to 
  1122.         overwrite the destination or to abort the operation or to 
  1123.         continue.  This  dialog  box will be appear in  all  such 
  1124.         instances of a name conflict and cannot be switched off.
  1125.  
  1126.         Finally note that a copy,  delete or print operation  can 
  1127.         be aborted by pressing [Esc]
  1128.  
  1129. 6  Windows
  1130.  
  1131.    Two kinds of window may be displayed on the desktop:
  1132.  
  1133.              1.   Directory windows
  1134.              2.   Text (or View) windows.
  1135.  
  1136.    Several features of these have been discussed above.  Here  we 
  1137.    describe how to manipulate them.
  1138.  
  1139.    You  can  control  windows in the standard  manner  using  the 
  1140.    various  boxes  and  sliders.  In Tera Desktop  you  can  also 
  1141.    control them by pressing various keys;  these produce specific 
  1142.    effects: 
  1143.  
  1144.         [Clr Home]          Jump to top of window
  1145.  
  1146.         [Shift] [Clr Home]  Jump to bottom of window
  1147.  
  1148.         [C]                 Close the window
  1149.  
  1150.         Cursor (arrow)      These  keys scroll the window in  the                          
  1151.                             direction of the arrow.  If the Shift 
  1152.                             key  is pressed at the same  time  as 
  1153.                             the arrow key, the window scroll over 
  1154.                             a whole page,  otherwise by a  single 
  1155.                             line or column.
  1156.  
  1157.    6.1  Directory windows
  1158.  
  1159.         The contents (folders and files) of a directory are shown 
  1160.         as in the standard desktop.
  1161.  
  1162.         Certain additional keys have special effects:
  1163.  
  1164.         [Esc]          Read the directory again
  1165.  
  1166.         ^[C]           Close the window
  1167.  
  1168.    6.2  Text windows
  1169.  
  1170.         The  contents  of  a file are  displayed.   They  may  be 
  1171.         displayed either in ASCII mode or in Hex mode.
  1172.  
  1173.         ASCII mode is suitable for readable text files while  Hex 
  1174.         mode is more suitable for binary files.  
  1175.  
  1176.         Every  text window has its own menu bar with  one  title, 
  1177.         'Viewer'.  You must click on this to see the two items it 
  1178.         contains. i.e. it is a click down rather than a drop down 
  1179.         menu.
  1180.  
  1181.         The  first  item,  'Tabsize' ,  shows a dialog  box  when 
  1182.         selected. In this you can set the tab size; the number of 
  1183.         columns  skipped when a Tab symbol is encountered in  the 
  1184.         text.
  1185.  
  1186.         The second 'Hexmode', enables you to toggle between ASCII 
  1187.         mode and Hex mode.  When 'Hexmode' is ticked, the file is 
  1188.         shown in hex mode.
  1189.  
  1190.         Certain additional keys have special effects:
  1191.  
  1192.         [Esc],[Q]      Close the window
  1193.         [Space bar]    Scroll to next page
  1194.         [Return]       Scroll to next line
  1195.  
  1196. 7  The ARGV protocol
  1197.  
  1198.    In  GEMDOS  the  length of a command line is  limited  to  125 
  1199.    characters.    The  ARGV  protocol makes much  longer  command 
  1200.    lines possible.
  1201.  
  1202.    A  disadvantage of the protocol is that many programs  do  not 
  1203.    support such long command lines and may even crash.   For this 
  1204.    reason Tera Desktop enables you to switch the protocol on  and 
  1205.    off in 'Install application' and 'Program options'.
  1206.  
  1207.    There are two ways you can avoid this difficulty with the ARGV 
  1208.    protocol:
  1209.  
  1210.    1.   Install programs which do not support the ARGV separately 
  1211.         using  the  'Program options' menu  item  (see  paragraph 
  1212.         4.4.8).   Enter  their full names in the list of  program 
  1213.         mask  but switch off the ARGV protocol  for  them.   Make 
  1214.         sure  you enter their names before any masks  which  they 
  1215.         might match.
  1216.  
  1217.    2.   Do the reverse of 1. Switch off the ARGV protocol for all 
  1218.         programs but enter the names of those that do separately.
  1219.  
  1220.    Another  possibility is to install them as  applications  with 
  1221.    the ARGV protocol switched off .
  1222.  
  1223. 8  Acknowledgements
  1224.  
  1225.    I  would  like  to  thank  the  following  people  for   their
  1226.    contribution to the Tera Desktop:
  1227.  
  1228.    Ric Klaren,
  1229.    Ger Hobbelt and
  1230.    Hans Wessels          for testing the Tera Desktop,  designing
  1231.                          some icons and making some  improvements
  1232.                          to the program code.
  1233.    Keith Frisby and
  1234.    Mark Matts            for distributing and supporting the Tera
  1235.                          Desktop in the United Kingdom.
  1236.    Ted Richards          for rewritting the English manual.
  1237.    Jean Jacques Cortes   for translating  the  resource  file  in
  1238.                          French.
  1239.  
  1240.    Wout Klaren
  1241.    October 1993 
  1242.